home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
EDUCTORY
/
INTRSTA1.LZH
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1993-01-10
|
2KB
|
58 lines
echo off
cls
if ARG==ARG%1 goto m1
goto m2
:m2
echo Selected SOURCE drive .......... %1
echo Selected TARGET drive .......... %2
echo Selected TARGET directory ...... %3
echo Do the following to accept these drives and directory, or press
echo Ctrl/C to exit.
pause
cls
if exist %1ist11@@@.exe goto m5
echo ..... File Not Found
goto end
:m5
%2
cd\
md %3
cd %3
%1ist11@@@
cd\
goto m3
:m1
echo Default SOURCE drive ........... A:
echo Default TARGET drive ........... C:
echo Default TARGET directory ....... IST11
echo The program files will be decompressed and transferred from the
echo source drive to the default target drive and directory.
echo The default target directory will be created if it does not
echo exist. If you wish to change any of these defaults, exit this
echo batch file by pressing Ctrl/C. Then rerun it with three
echo parameters (of your choice) as shown in the following example -
echo INSTALL B: C: ISTXX
echo ~~ ~~ ~~~~~
echo where B: is the SOURCE drive
echo C: is the TARGET drive
echo ISTXX is the TARGET directory
echo All three parameters must be specified, even if only one is
echo changed. Now, either press Ctrl/C or do the following to
echo accept the defaults -
pause
cls
if exist a:ist11@@@.exe goto m4
echo ..... File Not Found
goto end
:m4
c:
cd\
md ist11
cd ist11
a:ist11@@@
cd\
echo .... PRESS ENTER THEN INSERT DISK 2 ........
pause
goto m1
:end